﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DevDL.UserLimit.Models
{
    [DataContract(Name = "Operator", Namespace = "http://www.xinyuan.com/")]
    public class Operator
    {
        private int id;
        /// <summary>
        /// 编号
        /// </summary>
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        private string operatorName;
        /// <summary>
        /// 操作者姓名
        /// </summary>
        [DataMember]
        public string OperatorName
        {
            get { return operatorName; }
            set { operatorName = value; }
        }

        private string password;
        /// <summary>
        /// 密码
        /// </summary>
        [DataMember]
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private int roleId;
        /// <summary>
        /// 角色
        /// </summary>
        [DataMember]
        public int RoleId
        {
            get { return roleId; }
            set { roleId = value; }
        }

        private bool state;
        /// <summary>
        /// 状态
        /// </summary>
        [DataMember]
        public bool State
        {
            get { return state; }
            set { state = value; }
        }
    }
}
